<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>AmpleHarvest: abs_Task.php Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">AmpleHarvest
   &#160;<span id="projectnumber">0.0.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('abs___task_8php.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">abs_Task.php</div>  </div>
</div>
<div class="contents">
<a href="abs___task_8php.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 &lt;?php
<a name="l00002"></a>00002         require_once(dirname(dirname(__FILE__))) . <span class="stringliteral">&#39;/classes/cAmpleHarvestLog.php&#39;</span>;
<a name="l00003"></a>00003 
<a name="l00004"></a><a class="code" href="classabs___task.html">00004</a>         <span class="keyword">class </span><a class="code" href="classabs___task.html">abs_Task</a>
<a name="l00005"></a>00005         {
<a name="l00006"></a><a class="code" href="classabs___task.html#a37aaa0b4692043a751c56d5941c4117f">00006</a>                 <span class="keyword">protected</span> <a class="code" href="classabs___task.html#a37aaa0b4692043a751c56d5941c4117f">$m_obj_Log</a> = null;
<a name="l00007"></a>00007 
<a name="l00008"></a><a class="code" href="classabs___task.html#ac09481a47d2a230fc4371e7742ab197f">00008</a>                 <span class="keyword">private</span> <a class="code" href="classabs___task.html#ac09481a47d2a230fc4371e7742ab197f">$m_str_Name</a> = <span class="stringliteral">&quot;default&quot;</span>;
<a name="l00009"></a><a class="code" href="classabs___task.html#a02eee5fbceeea92d19a86c7def9b72d4">00009</a>                 <span class="keyword">private</span> <a class="code" href="classabs___task.html#a02eee5fbceeea92d19a86c7def9b72d4">$m_bool_Force</a> = <span class="keyword">false</span>;
<a name="l00010"></a><a class="code" href="classabs___task.html#ac8c7e1778404a9de034e76a1136a9a68">00010</a>                 <span class="keyword">private</span> <a class="code" href="classabs___task.html#ac8c7e1778404a9de034e76a1136a9a68">$m_bool_Active</a> = <span class="keyword">false</span>;
<a name="l00011"></a><a class="code" href="classabs___task.html#a317bc02783459313647ec39836a9f17e">00011</a>                 <span class="keyword">private</span> <a class="code" href="classabs___task.html#a317bc02783459313647ec39836a9f17e">$m_str_LockPath</a> = <span class="stringliteral">&quot;&quot;</span>;
<a name="l00012"></a><a class="code" href="classabs___task.html#aa190ee61550ea3e23e78170162591982">00012</a>                 <span class="keyword">private</span> <a class="code" href="classabs___task.html#aa190ee61550ea3e23e78170162591982">$m_str_Thread</a> = <span class="stringliteral">&quot;&quot;</span>;
<a name="l00013"></a>00013 
<a name="l00014"></a><a class="code" href="classabs___task.html#a9cd87b98985fe2b71db85e890b4bec66">00014</a>                 <span class="keyword">private</span> <span class="keyword">static</span> <a class="code" href="classabs___task.html#a9cd87b98985fe2b71db85e890b4bec66">$m_obj_DataFile</a> = null;
<a name="l00015"></a>00015 
<a name="l00016"></a><a class="code" href="classabs___task.html#ac2ff9da4ea14cbfeb307dbaf50452686">00016</a>                 <span class="keyword">private</span> <a class="code" href="classabs___task.html#ac2ff9da4ea14cbfeb307dbaf50452686">$m_int_MaxThreads</a> = 1;
<a name="l00017"></a>00017 
<a name="l00018"></a><a class="code" href="classabs___task.html#adc5e68eb0516e25b301844c469e7054e">00018</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#adc5e68eb0516e25b301844c469e7054e">get_LockFilePath</a>()
<a name="l00019"></a>00019                 {
<a name="l00020"></a>00020                         <span class="keywordflow">return</span> $this-&gt;m_str_LockPath . <span class="stringliteral">&quot;/&quot;</span> . $this-&gt;m_str_Name . <span class="stringliteral">&quot;_&quot;</span> . $this-&gt;m_str_Thread . <span class="stringliteral">&quot;.lock&quot;</span>;
<a name="l00021"></a>00021                 }
<a name="l00022"></a>00022 
<a name="l00023"></a><a class="code" href="classabs___task.html#aca989547746b4eadf2f14ea570c1e1e5">00023</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#aca989547746b4eadf2f14ea570c1e1e5">get_TrackFilePath</a>()
<a name="l00024"></a>00024                 {
<a name="l00025"></a>00025                         <span class="keywordflow">return</span> $this-&gt;m_str_LockPath . <span class="stringliteral">&quot;/tracking/&quot;</span> . $this-&gt;m_str_Name . <span class="stringliteral">&quot;.txt&quot;</span>;
<a name="l00026"></a>00026                 }
<a name="l00027"></a>00027 
<a name="l00028"></a><a class="code" href="classabs___task.html#a095c5d389db211932136b53f25f39685">00028</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#a095c5d389db211932136b53f25f39685">__construct</a>()
<a name="l00029"></a>00029                 {
<a name="l00030"></a>00030                         $this-&gt;m_obj_Log = new \cAmpleHarvestLog();
<a name="l00031"></a>00031                         $this-&gt;<a class="code" href="classabs___task.html#a8a524b7965fb2dad4ef02aca29e9c45d">set_MaxThreads</a>(1);
<a name="l00032"></a>00032 
<a name="l00033"></a>00033                         $this-&gt;<a class="code" href="classabs___task.html#a4724fbab6ab102d47b99c43bcf6109ee">set_DataFileProp</a>(<span class="stringliteral">&quot;start&quot;</span>, date_format(<span class="keyword">new</span> \DateTime(), <span class="stringliteral">&quot;c&quot;</span>));
<a name="l00034"></a>00034                 }
<a name="l00035"></a>00035 
<a name="l00036"></a><a class="code" href="classabs___task.html#a4724fbab6ab102d47b99c43bcf6109ee">00036</a>                 <span class="keyword">protected</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#a4724fbab6ab102d47b99c43bcf6109ee">set_DataFileProp</a>($str_Prop, $str_Value, $bool_ThreadSpec = <span class="keyword">true</span>)
<a name="l00037"></a>00037                 {
<a name="l00038"></a>00038                         $str_Thread = <span class="stringliteral">&quot;thread_&quot;</span> . $this-&gt;m_str_Thread;
<a name="l00039"></a>00039                         <span class="keywordflow">if</span> (!isset(self::$m_obj_DataFile))
<a name="l00040"></a>00040                         {
<a name="l00041"></a>00041                                 self::$m_obj_DataFile = array();
<a name="l00042"></a>00042                         }
<a name="l00043"></a>00043 
<a name="l00044"></a>00044                         <span class="keywordflow">if</span> (!isset(self::$m_obj_DataFile[$this-&gt;m_str_Name]))
<a name="l00045"></a>00045                         {
<a name="l00046"></a>00046                                 self::$m_obj_DataFile[$this-&gt;m_str_Name] = new \stdClass();
<a name="l00047"></a>00047                         }
<a name="l00048"></a>00048                         <span class="keywordflow">if</span> ($bool_ThreadSpec &amp;&amp; $this-&gt;m_str_Thread)
<a name="l00049"></a>00049                         {
<a name="l00050"></a>00050                                 <span class="keywordflow">if</span> (!isset(self::$m_obj_DataFile[$this-&gt;m_str_Name]-&gt;$str_Thread))
<a name="l00051"></a>00051                                 {
<a name="l00052"></a>00052                                         self::$m_obj_DataFile[$this-&gt;m_str_Name]-&gt;$str_Thread = new \stdClass();
<a name="l00053"></a>00053                                 }
<a name="l00054"></a>00054                         }
<a name="l00055"></a>00055                         $obj_DataFile = <a class="code" href="classabs___task.html#a9cd87b98985fe2b71db85e890b4bec66">self::$m_obj_DataFile</a>;
<a name="l00056"></a>00056 
<a name="l00057"></a>00057                         <span class="keywordflow">if</span> ($bool_ThreadSpec &amp;&amp; $this-&gt;m_str_Thread)
<a name="l00058"></a>00058                         {
<a name="l00059"></a>00059                                 $obj_DataFile[$this-&gt;m_str_Name]-&gt;$str_Thread-&gt;$str_Prop = $str_Value;
<a name="l00060"></a>00060                         }
<a name="l00061"></a>00061                         <span class="keywordflow">else</span>
<a name="l00062"></a>00062                         {
<a name="l00063"></a>00063                                 $obj_DataFile[$this-&gt;m_str_Name]-&gt;$str_Prop = $str_Value;
<a name="l00064"></a>00064                         }
<a name="l00065"></a>00065 
<a name="l00066"></a>00066                 }
<a name="l00067"></a>00067 
<a name="l00068"></a><a class="code" href="classabs___task.html#a827585d52314e6f4b231940971f7f4d1">00068</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#a827585d52314e6f4b231940971f7f4d1">set_ThreadID</a>($str_ThreadID)
<a name="l00069"></a>00069                 {
<a name="l00070"></a>00070                         $this-&gt;m_str_Thread = $str_ThreadID;
<a name="l00071"></a>00071                         $this-&gt;<a class="code" href="classabs___task.html#a4724fbab6ab102d47b99c43bcf6109ee">set_DataFileProp</a>(<span class="stringliteral">&quot;start&quot;</span>, date_format(<span class="keyword">new</span> \DateTime(), <span class="stringliteral">&quot;c&quot;</span>));
<a name="l00072"></a>00072                 }
<a name="l00073"></a>00073 
<a name="l00074"></a><a class="code" href="classabs___task.html#a8a524b7965fb2dad4ef02aca29e9c45d">00074</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#a8a524b7965fb2dad4ef02aca29e9c45d">set_MaxThreads</a>($int_Max)
<a name="l00075"></a>00075                 {
<a name="l00076"></a>00076                         $this-&gt;m_int_MaxThreads = $int_Max;
<a name="l00077"></a>00077                         $this-&gt;<a class="code" href="classabs___task.html#a4724fbab6ab102d47b99c43bcf6109ee">set_DataFileProp</a>(<span class="stringliteral">&quot;maxThreads&quot;</span>, $int_Max);
<a name="l00078"></a>00078                 }
<a name="l00079"></a><a class="code" href="classabs___task.html#a57d8e999c8a42b7be4b60c7fa8c0df95">00079</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#a57d8e999c8a42b7be4b60c7fa8c0df95">get_MaxThreads</a>()
<a name="l00080"></a>00080                 {
<a name="l00081"></a>00081                         <span class="keywordflow">return</span> $this-&gt;m_int_MaxThreads ;
<a name="l00082"></a>00082                 }
<a name="l00083"></a>00083 
<a name="l00084"></a><a class="code" href="classabs___task.html#a421831a265621325e1fdd19aace0c758">00084</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#a421831a265621325e1fdd19aace0c758">__destruct</a>()
<a name="l00085"></a>00085                 {
<a name="l00086"></a>00086                         <span class="keywordflow">if</span> ($this-&gt;m_bool_Active)
<a name="l00087"></a>00087                         {
<a name="l00088"></a>00088                                 <span class="keywordflow">if</span> ($this-&gt;<a class="code" href="classabs___task.html#a19e2d3d0e9debed234d72c560f99b5f2">isLocked</a>())
<a name="l00089"></a>00089                                 {
<a name="l00090"></a>00090                                         <span class="keywordflow">if</span> (!unlink($this-&gt;<a class="code" href="classabs___task.html#adc5e68eb0516e25b301844c469e7054e">get_LockFilePath</a>()))
<a name="l00091"></a>00091                                         {
<a name="l00092"></a>00092                                                 $this-&gt;<a class="code" href="classabs___task.html#a96fce4c76b6102d8cd1e7361049e483d">log_Error</a>(<span class="stringliteral">&quot;Failed to remove Lock File at &quot;</span> . $this-&gt;<a class="code" href="classabs___task.html#adc5e68eb0516e25b301844c469e7054e">get_LockFilePath</a>());
<a name="l00093"></a>00093                                         }
<a name="l00094"></a>00094                                 }
<a name="l00095"></a>00095 
<a name="l00096"></a>00096                                 $this-&gt;<a class="code" href="classabs___task.html#a4724fbab6ab102d47b99c43bcf6109ee">set_DataFileProp</a>(<span class="stringliteral">&quot;end&quot;</span>, date_format(<span class="keyword">new</span> \DateTime(), <span class="stringliteral">&quot;c&quot;</span>));
<a name="l00097"></a>00097                                 $this-&gt;<a class="code" href="classabs___task.html#a739604dc537b28b459cc81bb117bbb6e">createTrack</a>();
<a name="l00098"></a>00098                                 $this-&gt;<a class="code" href="classabs___task.html#ab6551619dc697d97589f741a795321a1">log</a>(<span class="stringliteral">&quot;Finished &quot;</span>);
<a name="l00099"></a>00099                         }
<a name="l00100"></a>00100                 }
<a name="l00101"></a>00101 
<a name="l00102"></a><a class="code" href="classabs___task.html#afb0fafe7e02a3ae1993c01c19fad2bae">00102</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#afb0fafe7e02a3ae1993c01c19fad2bae">run</a>()
<a name="l00103"></a>00103                 {
<a name="l00104"></a>00104                         <span class="keywordflow">if</span> ($this-&gt;<a class="code" href="classabs___task.html#a19e2d3d0e9debed234d72c560f99b5f2">isLocked</a>() &amp;&amp; !$this-&gt;m_bool_Force)
<a name="l00105"></a>00105                         {
<a name="l00106"></a>00106                                 $this-&gt;<a class="code" href="classabs___task.html#a96fce4c76b6102d8cd1e7361049e483d">log_Error</a>(<span class="stringliteral">&quot;Failed to start lock file is present at &quot;</span> . $this-&gt;<a class="code" href="classabs___task.html#adc5e68eb0516e25b301844c469e7054e">get_LockFilePath</a>());
<a name="l00107"></a>00107                                 <span class="keywordflow">return</span> <span class="keyword">false</span>;
<a name="l00108"></a>00108                         }
<a name="l00109"></a>00109                         $this-&gt;<a class="code" href="classabs___task.html#ab6551619dc697d97589f741a795321a1">log</a>(<span class="stringliteral">&quot;Starting&quot;</span>);
<a name="l00110"></a>00110                         $this-&gt;<a class="code" href="classabs___task.html#aa6f3b4ad42850f343889968fef6f071f">createLock</a>();
<a name="l00111"></a>00111                         $this-&gt;m_bool_Active = <span class="keyword">true</span>;
<a name="l00112"></a>00112                         <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00113"></a>00113                 }
<a name="l00114"></a>00114 
<a name="l00115"></a><a class="code" href="classabs___task.html#ab6551619dc697d97589f741a795321a1">00115</a>                 <span class="keyword">protected</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#ab6551619dc697d97589f741a795321a1">log</a>($str_Msg, $int_LogLevel = <a class="code" href="classc_ample_harvest_log.html#ac75ce249ff964cc240a65f2807cdd475">cAmpleHarvestLog::C_INT_LEVEL_INFO</a>)
<a name="l00116"></a>00116                 {
<a name="l00117"></a>00117                         $this-&gt;m_obj_Log-&gt;do_Log(<a class="code" href="classc_ample_harvest_log.html#ab2a782d3c071d8eb5b153216beece32f">cAmpleHarvestLog::C_STR_ACTION_TASK_INFO</a>,
<a name="l00118"></a>00118                                 <span class="stringliteral">&quot;Task - &quot;</span> . $this-&gt;m_str_Name . <span class="stringliteral">&quot; - &quot;</span> . $str_Msg,
<a name="l00119"></a>00119                                 $int_LogLevel);
<a name="l00120"></a>00120                 }
<a name="l00121"></a>00121 
<a name="l00122"></a><a class="code" href="classabs___task.html#a96fce4c76b6102d8cd1e7361049e483d">00122</a>                 <span class="keyword">protected</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#a96fce4c76b6102d8cd1e7361049e483d">log_Error</a>($str_Msg, $int_LogLevel = <a class="code" href="classc_ample_harvest_log.html#a483d683544db816b71891ee1a3010568">cAmpleHarvestLog::C_INT_LEVEL_ERRORS</a>)
<a name="l00123"></a>00123                 {
<a name="l00124"></a>00124                         $this-&gt;m_obj_Log-&gt;do_Log(<a class="code" href="classc_ample_harvest_log.html#afef0d8991975e8940cfcb0c4e2691616">cAmpleHarvestLog::C_STR_ACTION_TASK_ERROR</a>,
<a name="l00125"></a>00125                                 <span class="stringliteral">&quot;Task - &quot;</span> . $this-&gt;m_str_Name . <span class="stringliteral">&quot; - &quot;</span> . $str_Msg,
<a name="l00126"></a>00126                                 $int_LogLevel);
<a name="l00127"></a>00127                 }
<a name="l00128"></a>00128 
<a name="l00129"></a><a class="code" href="classabs___task.html#aa6f3b4ad42850f343889968fef6f071f">00129</a>                 <span class="keyword">protected</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#aa6f3b4ad42850f343889968fef6f071f">createLock</a>()
<a name="l00130"></a>00130                 {
<a name="l00131"></a>00131                         $obj_FileHandler = fopen($this-&gt;<a class="code" href="classabs___task.html#adc5e68eb0516e25b301844c469e7054e">get_LockFilePath</a>(), <span class="stringliteral">&quot;w&quot;</span>);
<a name="l00132"></a>00132                         <span class="keywordflow">if</span> ($obj_FileHandler)
<a name="l00133"></a>00133                         {
<a name="l00134"></a>00134                                 fwrite($obj_FileHandler, date(<span class="stringliteral">&quot;F d, Y H:i:s&quot;</span>) . <span class="stringliteral">&quot; - Lock Created \n&quot;</span>);
<a name="l00135"></a>00135 
<a name="l00136"></a>00136                                 fclose($obj_FileHandler);
<a name="l00137"></a>00137                         }
<a name="l00138"></a>00138                         <span class="keywordflow">else</span>
<a name="l00139"></a>00139                         {
<a name="l00140"></a>00140                                 $this-&gt;<a class="code" href="classabs___task.html#a96fce4c76b6102d8cd1e7361049e483d">log_Error</a>(<span class="stringliteral">&quot;Failed to create Lock file at &quot;</span> . $this-&gt;<a class="code" href="classabs___task.html#adc5e68eb0516e25b301844c469e7054e">get_LockFilePath</a>());
<a name="l00141"></a>00141                         }
<a name="l00142"></a>00142                 }
<a name="l00143"></a>00143 
<a name="l00144"></a><a class="code" href="classabs___task.html#a739604dc537b28b459cc81bb117bbb6e">00144</a>                 <span class="keyword">protected</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#a739604dc537b28b459cc81bb117bbb6e">createTrack</a>()
<a name="l00145"></a>00145                 {
<a name="l00146"></a>00146                         $obj_FileHandler = fopen($this-&gt;<a class="code" href="classabs___task.html#aca989547746b4eadf2f14ea570c1e1e5">get_TrackFilePath</a>(), <span class="stringliteral">&quot;w&quot;</span>);
<a name="l00147"></a>00147                         <span class="keywordflow">if</span> ($obj_FileHandler)
<a name="l00148"></a>00148                         {
<a name="l00149"></a>00149                                 fwrite($obj_FileHandler, json_encode(self::$m_obj_DataFile[$this-&gt;m_str_Name]));
<a name="l00150"></a>00150 
<a name="l00151"></a>00151                                 fclose($obj_FileHandler);
<a name="l00152"></a>00152                         }
<a name="l00153"></a>00153                         <span class="keywordflow">else</span>
<a name="l00154"></a>00154                         {
<a name="l00155"></a>00155                                 $this-&gt;<a class="code" href="classabs___task.html#a96fce4c76b6102d8cd1e7361049e483d">log_Error</a>(<span class="stringliteral">&quot;Failed to create Track file at &quot;</span> . $this-&gt;<a class="code" href="classabs___task.html#aca989547746b4eadf2f14ea570c1e1e5">get_TrackFilePath</a>());
<a name="l00156"></a>00156                         }
<a name="l00157"></a>00157                 }
<a name="l00158"></a>00158 
<a name="l00159"></a><a class="code" href="classabs___task.html#a25d6414e15ae1d8df65708f953b535cc">00159</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#a25d6414e15ae1d8df65708f953b535cc">set_Name</a>($str_Name)
<a name="l00160"></a>00160                 {
<a name="l00161"></a>00161                         $this-&gt;m_str_Name = $str_Name;
<a name="l00162"></a>00162                 }
<a name="l00163"></a>00163 
<a name="l00164"></a><a class="code" href="classabs___task.html#a86d834a1cf6e8cd4a3be2f3f50ce0593">00164</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#a86d834a1cf6e8cd4a3be2f3f50ce0593">get_Name</a>()
<a name="l00165"></a>00165                 {
<a name="l00166"></a>00166                         <span class="keywordflow">return</span> $this-&gt;m_str_Name ;
<a name="l00167"></a>00167                 }
<a name="l00168"></a>00168 
<a name="l00169"></a><a class="code" href="classabs___task.html#ab3ab586276b68ab2c54078298cafeebc">00169</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#ab3ab586276b68ab2c54078298cafeebc">set_Force</a>($bool_Force = <span class="keyword">false</span>)
<a name="l00170"></a>00170                 {
<a name="l00171"></a>00171                         $this-&gt;m_bool_Force = $bool_Force;
<a name="l00172"></a>00172                 }
<a name="l00173"></a>00173 
<a name="l00174"></a><a class="code" href="classabs___task.html#ae69d819b38a626bd2971b6a293f42737">00174</a>                 <span class="keyword">public</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#ae69d819b38a626bd2971b6a293f42737">set_LockPath</a>($str_Path)
<a name="l00175"></a>00175                 {
<a name="l00176"></a>00176                         $this-&gt;m_str_LockPath = $str_Path;
<a name="l00177"></a>00177                 }
<a name="l00178"></a>00178 
<a name="l00179"></a><a class="code" href="classabs___task.html#a19e2d3d0e9debed234d72c560f99b5f2">00179</a>                 <span class="keyword">protected</span> <span class="keyword">function</span> <a class="code" href="classabs___task.html#a19e2d3d0e9debed234d72c560f99b5f2">isLocked</a>()
<a name="l00180"></a>00180                 {
<a name="l00181"></a>00181                         <span class="keywordflow">return</span> file_exists($this-&gt;<a class="code" href="classabs___task.html#adc5e68eb0516e25b301844c469e7054e">get_LockFilePath</a>());
<a name="l00182"></a>00182                 }
<a name="l00183"></a>00183         }
<a name="l00184"></a>00184 ?&gt;
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="abs___task_8php.html">abs_Task.php</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Mon Jan 23 2012 13:34:19 for AmpleHarvest by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
